// 引入 
import SMERouter from 'sme-router';
// 实例化
let router = new SMERouter("app","html5"); 
import loginRouter from '@/routers/loginRouter.js';
import adminRouter from '@/routers/adminRouter.js';
import advRouter from '@/routers/advRouter.js';
import usersRouter from '@/routers/usersRouter.js';

loginRouter(router);
adminRouter(router);
advRouter(router);
usersRouter(router);

router.route("*",(req,res)=>{
    router.go("/login");  // 跳转到某个路由地址；
})










